package io.github.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: Max
 * @Date: 2019/10/9 9:45
 */

@Data
@TableName("sys_book")
public class SysBookEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField
    private String numberSection;

    @TableField
    private String name;

    @TableField
    private Integer orgId;

    @TableField
    private String orgName;

    @TableField
    private Integer depId;

    @TableField
    private String depName;

    @TableField
    private String unionName;

    @TableField
    private String unionNumber;

}
